﻿<!DOCTYPE html>
<html lang="en">
    <head>
    @{
        BusinessLayer.WorldArtPrice.Entities.MetaHeader meta = new BusinessLayer.WorldArtPrice.MetaHeaderBL().GetByUrl(Request.Url.AbsoluteUri);            
    }
    @if (meta != null)
    { 
        <meta name="keywords" content="@(string.IsNullOrEmpty(meta.KeyWord)?string.Empty:meta.KeyWord)" />
        <meta name="description" content="@(string.IsNullOrEmpty(meta.Description)?string.Empty:meta.Description)" />
        <title>@(string.IsNullOrEmpty(meta.Title)?string.Empty:meta.Title)</title>
    }
        <meta charset="utf-8" />        
        <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <meta name="viewport" content="width=device-width" />         
        <link href="~/Content/style.css" rel="stylesheet" />

        <script src="~/Scripts/jquery-1.7.1.min.js"></script>
    </head>
<body>
    <div class="border">
        <div id="bg"> background </div>
        <div class="page">
            @Html.Partial("_SideBarPartial")                                   
         <div class="body">                                                 
            @RenderBody()            
        </div>
    </div> 
        @(Html.Telerik().ScriptRegistrar().DefaultGroup(group => group.Combined(true).Compress(true)))
    @(Html.Telerik().ScriptRegistrar().DefaultGroup(group => group.Combined(true).Compress(true)))
    @{
        Html.Telerik().ScriptRegistrar()
            .DefaultGroup(group =>
                group.Add("~/Scripts/observer.js")
            )
            .Scripts(scripts =>
                scripts.AddGroup("LayoutGroup", group =>
                    group.Add("~/Scripts/telerik.extensions.js")
                )
            )
            ;
    }
       @Html.Telerik().ScriptRegistrar()      
</body>              
</html>
